package priv.mill.abcfactory;

public class Main {
	/**
	 * 产品簇
	 * @param args
	 */
	public static void main(String[] args) {
		YinLiao yinLiao = YinLiaoFactory
				.getYinLiaoFactory("茶")
				.getYinLiao( "金骏眉");
		
		System.out
				.printf("这是%s，价格是%f\n", 
						yinLiao.getName(), 
						yinLiao.getPrice());

	}
}
